fix: H-scroll positions after restore#38822
Conversation
Copy-paste error: assigns element.scrollTop to scrollLeft property. This will cause horizontal scroll positions to be restored incorrectly in snapshot rendering. Signed-off-by: Manuel <manuel.delverme@gmail.com>
Skn0tt
left a comment
There was a problem hiding this comment.
Yes, seems like a copy-paste error: https://github.com/microsoft/playwright/pull/33809/changes#diff-3448de0c4b59dc4cbf5203b6737dc9769601e0e638ce29e05b579ae1bb764ea0R386
Thanks!
Test results for "MCP"2 failed 2828 passed, 121 skipped Merge workflow run. |
Test results for "tests 1"30 failed 6 flaky34567 passed, 691 skipped Merge workflow run. |
Copy-paste error?
assigns element.scrollTop to scrollLeft property. This will cause horizontal scroll positions to be restored incorrectly in snapshot rendering.